<html {$html_attrs}>
<head>
<title>{$caption proforma_invoices}</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{$header}
{BEGIN page}

<h1>{$caption proforma_invoices}</h1>
{BEGIN page_number}
<div id='selpage'>{mlang_message PAGE1} {$pageno} {mlang_message PAGE2} {$maxpages} </div>
{END page_number}
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf {$pdflink_attrs}>{mlang_message PDF_VIEW}</a>
{END pdflink_block}
{END pdf_block}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN id_fieldheadercolumn}
	<td>
{BEGIN id_fieldheader}
	<b>{$label proforma_invoices id}</b>
{END id_fieldheader}
	</td>
{END id_fieldheadercolumn}
{BEGIN account_id_fieldheadercolumn}
	<td>
{BEGIN account_id_fieldheader}
	<b>{$label proforma_invoices account_id}</b>
{END account_id_fieldheader}
	</td>
{END account_id_fieldheadercolumn}
{BEGIN account_address_fieldheadercolumn}
	<td>
{BEGIN account_address_fieldheader}
	<b>{$label proforma_invoices account_address}</b>
{END account_address_fieldheader}
	</td>
{END account_address_fieldheadercolumn}
{BEGIN consignee_id_fieldheadercolumn}
	<td>
{BEGIN consignee_id_fieldheader}
	<b>{$label proforma_invoices consignee_id}</b>
{END consignee_id_fieldheader}
	</td>
{END consignee_id_fieldheadercolumn}
{BEGIN consignee_address_fieldheadercolumn}
	<td>
{BEGIN consignee_address_fieldheader}
	<b>{$label proforma_invoices consignee_address}</b>
{END consignee_address_fieldheader}
	</td>
{END consignee_address_fieldheadercolumn}
{BEGIN notify_id_fieldheadercolumn}
	<td>
{BEGIN notify_id_fieldheader}
	<b>{$label proforma_invoices notify_id}</b>
{END notify_id_fieldheader}
	</td>
{END notify_id_fieldheadercolumn}
{BEGIN notify_address_fieldheadercolumn}
	<td>
{BEGIN notify_address_fieldheader}
	<b>{$label proforma_invoices notify_address}</b>
{END notify_address_fieldheader}
	</td>
{END notify_address_fieldheadercolumn}
{BEGIN buyer_id_fieldheadercolumn}
	<td>
{BEGIN buyer_id_fieldheader}
	<b>{$label proforma_invoices buyer_id}</b>
{END buyer_id_fieldheader}
	</td>
{END buyer_id_fieldheadercolumn}
{BEGIN buyer_address_fieldheadercolumn}
	<td>
{BEGIN buyer_address_fieldheader}
	<b>{$label proforma_invoices buyer_address}</b>
{END buyer_address_fieldheader}
	</td>
{END buyer_address_fieldheadercolumn}
{BEGIN proforma_invoice_no_fieldheadercolumn}
	<td>
{BEGIN proforma_invoice_no_fieldheader}
	<b>{$label proforma_invoices proforma_invoice_no}</b>
{END proforma_invoice_no_fieldheader}
	</td>
{END proforma_invoice_no_fieldheadercolumn}
{BEGIN proforma_invoice_date_fieldheadercolumn}
	<td>
{BEGIN proforma_invoice_date_fieldheader}
	<b>{$label proforma_invoices proforma_invoice_date}</b>
{END proforma_invoice_date_fieldheader}
	</td>
{END proforma_invoice_date_fieldheadercolumn}
{BEGIN customer_reference_fieldheadercolumn}
	<td>
{BEGIN customer_reference_fieldheader}
	<b>{$label proforma_invoices customer_reference}</b>
{END customer_reference_fieldheader}
	</td>
{END customer_reference_fieldheadercolumn}
{BEGIN commercial_invoice_no_fieldheadercolumn}
	<td>
{BEGIN commercial_invoice_no_fieldheader}
	<b>{$label proforma_invoices commercial_invoice_no}</b>
{END commercial_invoice_no_fieldheader}
	</td>
{END commercial_invoice_no_fieldheadercolumn}
{BEGIN commercial_invoice_date_fieldheadercolumn}
	<td>
{BEGIN commercial_invoice_date_fieldheader}
	<b>{$label proforma_invoices commercial_invoice_date}</b>
{END commercial_invoice_date_fieldheader}
	</td>
{END commercial_invoice_date_fieldheadercolumn}
{BEGIN customer_reference_date_fieldheadercolumn}
	<td>
{BEGIN customer_reference_date_fieldheader}
	<b>{$label proforma_invoices customer_reference_date}</b>
{END customer_reference_date_fieldheader}
	</td>
{END customer_reference_date_fieldheadercolumn}
{BEGIN payment_term_id_fieldheadercolumn}
	<td>
{BEGIN payment_term_id_fieldheader}
	<b>{$label proforma_invoices payment_term_id}</b>
{END payment_term_id_fieldheader}
	</td>
{END payment_term_id_fieldheadercolumn}
{BEGIN payment_term_other_fieldheadercolumn}
	<td>
{BEGIN payment_term_other_fieldheader}
	<b>{$label proforma_invoices payment_term_other}</b>
{END payment_term_other_fieldheader}
	</td>
{END payment_term_other_fieldheadercolumn}
{BEGIN currency_id_fieldheadercolumn}
	<td>
{BEGIN currency_id_fieldheader}
	<b>{$label proforma_invoices currency_id}</b>
{END currency_id_fieldheader}
	</td>
{END currency_id_fieldheadercolumn}
{BEGIN bank_name_id_fieldheadercolumn}
	<td>
{BEGIN bank_name_id_fieldheader}
	<b>{$label proforma_invoices bank_name_id}</b>
{END bank_name_id_fieldheader}
	</td>
{END bank_name_id_fieldheadercolumn}
{BEGIN bank_term1_fieldheadercolumn}
	<td>
{BEGIN bank_term1_fieldheader}
	<b>{$label proforma_invoices bank_term1}</b>
{END bank_term1_fieldheader}
	</td>
{END bank_term1_fieldheadercolumn}
{BEGIN bank_term2_fieldheadercolumn}
	<td>
{BEGIN bank_term2_fieldheader}
	<b>{$label proforma_invoices bank_term2}</b>
{END bank_term2_fieldheader}
	</td>
{END bank_term2_fieldheadercolumn}
{BEGIN additional_charges_frieght_type_fieldheadercolumn}
	<td>
{BEGIN additional_charges_frieght_type_fieldheader}
	<b>{$label proforma_invoices additional_charges_frieght_type}</b>
{END additional_charges_frieght_type_fieldheader}
	</td>
{END additional_charges_frieght_type_fieldheadercolumn}
{BEGIN additional_charges_legalization_fieldheadercolumn}
	<td>
{BEGIN additional_charges_legalization_fieldheader}
	<b>{$label proforma_invoices additional_charges_legalization}</b>
{END additional_charges_legalization_fieldheader}
	</td>
{END additional_charges_legalization_fieldheadercolumn}
{BEGIN additional_charges_inspection_fieldheadercolumn}
	<td>
{BEGIN additional_charges_inspection_fieldheader}
	<b>{$label proforma_invoices additional_charges_inspection}</b>
{END additional_charges_inspection_fieldheader}
	</td>
{END additional_charges_inspection_fieldheadercolumn}
{BEGIN additional_charges_special_packing_fieldheadercolumn}
	<td>
{BEGIN additional_charges_special_packing_fieldheader}
	<b>{$label proforma_invoices additional_charges_special_packing}</b>
{END additional_charges_special_packing_fieldheader}
	</td>
{END additional_charges_special_packing_fieldheadercolumn}
{BEGIN others1_key_fieldheadercolumn}
	<td>
{BEGIN others1_key_fieldheader}
	<b>{$label proforma_invoices others1_key}</b>
{END others1_key_fieldheader}
	</td>
{END others1_key_fieldheadercolumn}
{BEGIN others1_value_fieldheadercolumn}
	<td>
{BEGIN others1_value_fieldheader}
	<b>{$label proforma_invoices others1_value}</b>
{END others1_value_fieldheader}
	</td>
{END others1_value_fieldheadercolumn}
{BEGIN others2_key_fieldheadercolumn}
	<td>
{BEGIN others2_key_fieldheader}
	<b>{$label proforma_invoices others2_key}</b>
{END others2_key_fieldheader}
	</td>
{END others2_key_fieldheadercolumn}
{BEGIN others2_value_fieldheadercolumn}
	<td>
{BEGIN others2_value_fieldheader}
	<b>{$label proforma_invoices others2_value}</b>
{END others2_value_fieldheader}
	</td>
{END others2_value_fieldheadercolumn}
{BEGIN others3_key_fieldheadercolumn}
	<td>
{BEGIN others3_key_fieldheader}
	<b>{$label proforma_invoices others3_key}</b>
{END others3_key_fieldheader}
	</td>
{END others3_key_fieldheadercolumn}
{BEGIN others3_value_fieldheadercolumn}
	<td>
{BEGIN others3_value_fieldheader}
	<b>{$label proforma_invoices others3_value}</b>
{END others3_value_fieldheader}
	</td>
{END others3_value_fieldheadercolumn}
{BEGIN terms_and_conditions_fieldheadercolumn}
	<td>
{BEGIN terms_and_conditions_fieldheader}
	<b>{$label proforma_invoices terms_and_conditions}</b>
{END terms_and_conditions_fieldheader}
	</td>
{END terms_and_conditions_fieldheadercolumn}
{BEGIN term_of_sale1_fieldheadercolumn}
	<td>
{BEGIN term_of_sale1_fieldheader}
	<b>{$label proforma_invoices term_of_sale1}</b>
{END term_of_sale1_fieldheader}
	</td>
{END term_of_sale1_fieldheadercolumn}
{BEGIN term_of_sale2_fieldheadercolumn}
	<td>
{BEGIN term_of_sale2_fieldheader}
	<b>{$label proforma_invoices term_of_sale2}</b>
{END term_of_sale2_fieldheader}
	</td>
{END term_of_sale2_fieldheadercolumn}
{BEGIN shipment_mode_id_fieldheadercolumn}
	<td>
{BEGIN shipment_mode_id_fieldheader}
	<b>{$label proforma_invoices shipment_mode_id}</b>
{END shipment_mode_id_fieldheader}
	</td>
{END shipment_mode_id_fieldheadercolumn}
{BEGIN estimated_shipment_date_fieldheadercolumn}
	<td>
{BEGIN estimated_shipment_date_fieldheader}
	<b>{$label proforma_invoices estimated_shipment_date}</b>
{END estimated_shipment_date_fieldheader}
	</td>
{END estimated_shipment_date_fieldheadercolumn}
{BEGIN estimated_shipment_date_custom_fieldheadercolumn}
	<td>
{BEGIN estimated_shipment_date_custom_fieldheader}
	<b>{$label proforma_invoices estimated_shipment_date_custom}</b>
{END estimated_shipment_date_custom_fieldheader}
	</td>
{END estimated_shipment_date_custom_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN id_fieldcolumn}
<td {$id_style}>
{$id_value}
</td>
{END id_fieldcolumn}
{BEGIN account_id_fieldcolumn}
<td {$account_id_style}>
{$account_id_value}
</td>
{END account_id_fieldcolumn}
{BEGIN account_address_fieldcolumn}
<td {$account_address_style}>
{$account_address_value}
</td>
{END account_address_fieldcolumn}
{BEGIN consignee_id_fieldcolumn}
<td {$consignee_id_style}>
{$consignee_id_value}
</td>
{END consignee_id_fieldcolumn}
{BEGIN consignee_address_fieldcolumn}
<td {$consignee_address_style}>
{$consignee_address_value}
</td>
{END consignee_address_fieldcolumn}
{BEGIN notify_id_fieldcolumn}
<td {$notify_id_style}>
{$notify_id_value}
</td>
{END notify_id_fieldcolumn}
{BEGIN notify_address_fieldcolumn}
<td {$notify_address_style}>
{$notify_address_value}
</td>
{END notify_address_fieldcolumn}
{BEGIN buyer_id_fieldcolumn}
<td {$buyer_id_style}>
{$buyer_id_value}
</td>
{END buyer_id_fieldcolumn}
{BEGIN buyer_address_fieldcolumn}
<td {$buyer_address_style}>
{$buyer_address_value}
</td>
{END buyer_address_fieldcolumn}
{BEGIN proforma_invoice_no_fieldcolumn}
<td {$proforma_invoice_no_style}>
{$proforma_invoice_no_value}
</td>
{END proforma_invoice_no_fieldcolumn}
{BEGIN proforma_invoice_date_fieldcolumn}
<td {$proforma_invoice_date_style}>
{$proforma_invoice_date_value}
</td>
{END proforma_invoice_date_fieldcolumn}
{BEGIN customer_reference_fieldcolumn}
<td {$customer_reference_style}>
{$customer_reference_value}
</td>
{END customer_reference_fieldcolumn}
{BEGIN commercial_invoice_no_fieldcolumn}
<td {$commercial_invoice_no_style}>
{$commercial_invoice_no_value}
</td>
{END commercial_invoice_no_fieldcolumn}
{BEGIN commercial_invoice_date_fieldcolumn}
<td {$commercial_invoice_date_style}>
{$commercial_invoice_date_value}
</td>
{END commercial_invoice_date_fieldcolumn}
{BEGIN customer_reference_date_fieldcolumn}
<td {$customer_reference_date_style}>
{$customer_reference_date_value}
</td>
{END customer_reference_date_fieldcolumn}
{BEGIN payment_term_id_fieldcolumn}
<td {$payment_term_id_style}>
{$payment_term_id_value}
</td>
{END payment_term_id_fieldcolumn}
{BEGIN payment_term_other_fieldcolumn}
<td {$payment_term_other_style}>
{$payment_term_other_value}
</td>
{END payment_term_other_fieldcolumn}
{BEGIN currency_id_fieldcolumn}
<td {$currency_id_style}>
{$currency_id_value}
</td>
{END currency_id_fieldcolumn}
{BEGIN bank_name_id_fieldcolumn}
<td {$bank_name_id_style}>
{$bank_name_id_value}
</td>
{END bank_name_id_fieldcolumn}
{BEGIN bank_term1_fieldcolumn}
<td {$bank_term1_style}>
{$bank_term1_value}
</td>
{END bank_term1_fieldcolumn}
{BEGIN bank_term2_fieldcolumn}
<td {$bank_term2_style}>
{$bank_term2_value}
</td>
{END bank_term2_fieldcolumn}
{BEGIN additional_charges_frieght_type_fieldcolumn}
<td {$additional_charges_frieght_type_style}>
{$additional_charges_frieght_type_value}
</td>
{END additional_charges_frieght_type_fieldcolumn}
{BEGIN additional_charges_legalization_fieldcolumn}
<td {$additional_charges_legalization_style}>
{$additional_charges_legalization_value}
</td>
{END additional_charges_legalization_fieldcolumn}
{BEGIN additional_charges_inspection_fieldcolumn}
<td {$additional_charges_inspection_style}>
{$additional_charges_inspection_value}
</td>
{END additional_charges_inspection_fieldcolumn}
{BEGIN additional_charges_special_packing_fieldcolumn}
<td {$additional_charges_special_packing_style}>
{$additional_charges_special_packing_value}
</td>
{END additional_charges_special_packing_fieldcolumn}
{BEGIN others1_key_fieldcolumn}
<td {$others1_key_style}>
{$others1_key_value}
</td>
{END others1_key_fieldcolumn}
{BEGIN others1_value_fieldcolumn}
<td {$others1_value_style}>
{$others1_value_value}
</td>
{END others1_value_fieldcolumn}
{BEGIN others2_key_fieldcolumn}
<td {$others2_key_style}>
{$others2_key_value}
</td>
{END others2_key_fieldcolumn}
{BEGIN others2_value_fieldcolumn}
<td {$others2_value_style}>
{$others2_value_value}
</td>
{END others2_value_fieldcolumn}
{BEGIN others3_key_fieldcolumn}
<td {$others3_key_style}>
{$others3_key_value}
</td>
{END others3_key_fieldcolumn}
{BEGIN others3_value_fieldcolumn}
<td {$others3_value_style}>
{$others3_value_value}
</td>
{END others3_value_fieldcolumn}
{BEGIN terms_and_conditions_fieldcolumn}
<td {$terms_and_conditions_style}>
{$terms_and_conditions_value}
</td>
{END terms_and_conditions_fieldcolumn}
{BEGIN term_of_sale1_fieldcolumn}
<td {$term_of_sale1_style}>
{$term_of_sale1_value}
</td>
{END term_of_sale1_fieldcolumn}
{BEGIN term_of_sale2_fieldcolumn}
<td {$term_of_sale2_style}>
{$term_of_sale2_value}
</td>
{END term_of_sale2_fieldcolumn}
{BEGIN shipment_mode_id_fieldcolumn}
<td {$shipment_mode_id_style}>
{$shipment_mode_id_value}
</td>
{END shipment_mode_id_fieldcolumn}
{BEGIN estimated_shipment_date_fieldcolumn}
<td {$estimated_shipment_date_style}>
{$estimated_shipment_date_value}
</td>
{END estimated_shipment_date_fieldcolumn}
{BEGIN estimated_shipment_date_custom_fieldcolumn}
<td {$estimated_shipment_date_custom_style}>
{$estimated_shipment_date_custom_value}
</td>
{END estimated_shipment_date_custom_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
</table>
{END grid_block}
{END page}
{$footer}
{END body}
</body>
</html>